﻿<UserControl x:Class="FutureModule.Views.RibbonView" 
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid>
        <GroupBox Header="{Binding StaticViewName}"  VerticalAlignment="Top">
            <StackPanel Orientation="Horizontal">
                <ToggleButton MaxHeight="40" MaxWidth="150" Margin="2,2,2,2" 
                        Content="{Binding OpenButtonContent}" IsThreeState="False"
                        CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=IsChecked}"
                        Command="{Binding OpenModuleCommand}" VerticalAlignment="Top"></ToggleButton>
                <Button MaxHeight="40" MaxWidth="150" Margin="2,2,2,2" Command="{Binding GetDataCommand}" VerticalAlignment="Top">Future Market Data</Button>
            </StackPanel>
        </GroupBox>
    </Grid>
</UserControl>
